all: self 
CFLAGS+=-Wall -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variabl -lpthread -ldl -lm

self: main.c cJSON.c
	$(CC) $(CFLAGS) $^ -o $@

clean:
	-@rm -rf self
